package com.yidu.best.bond.casharapInventory.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.yidu.best.bond.casharapInventory.domain.CasharapInventoryVo;
import com.yidu.best.bond.casharapInventory.service.CasharapInventoryService;

@Controller
@RequestMapping("/Bond/")
public class CasharapInventoryController {
	@Autowired
	private CasharapInventoryService casharapInventoryService;
	
	@RequestMapping("getCasharapInventory")
	public String getCasharapInventory() {
		return "bond/inventory/casharapInventory";
	}
	@ResponseBody
	@RequestMapping(value = "CasharapInventory" , method = RequestMethod.GET)
	public Map<String,Object> findPageQuery(CasharapInventoryVo casharapInventoryVo){
		 Map<String,Object> map = casharapInventoryService.findPageQuery(casharapInventoryVo);
		 return map;
	}
}
